package com.zhongc.advance.common.result;

import java.io.Serializable;

public class Result implements Serializable{

	private static final long serialVersionUID = 3153737887792702739L;

	/** 结果状态 */
	private Status status;

	/** 信息码 */
	private String code;

	/** 描述 */
	private String description;

	private Object result;

	private Object obj;
	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	@Override
	public String toString() {
		return "Result{" +
				"status=" + status +
				", code='" + code + '\'' +
				", description='" + description + '\'' +
				", result=" + result +
				", obj=" + obj +
				'}';
	}
}
